---
--类名: FirstChellenageTipsView.lua
--创建日期: 2019-01-14
--创建人: 宋建邦
--功能描述: view
--修改内容:

local FirstChellenageTipsView = class("FirstChellenageTipsView", app.mvc.ViewBase)
FirstChellenageTipsView.VIEW_ROOT_RES = Res.FirstChellengeTipsView

function FirstChellenageTipsView:init()
    self:setBackGroundColorType(0)
    self:setNodeEventEnabled(true)

    self.lblTlt = self._root:findChild("Panel/tlt")
    self.lblTips1 = self._root:findChild("Panel/tips")
    self.lblTips2 = self._root:findChild("Panel/tips_1")
    self.lblTips3 = self._root:findChild("Panel/tips_2")
    
    self.lblTlt:setString(L("GuildWarOpenTips1"))
    self.lblTips1:setString(L("GuildWarOpenTips2"))
    self.lblTips2:setString(L("GuildWarOpenTips3"))
    self.lblTips3:setString(L("GuildWarOpenTips4"))

    self._root:findChild("Panel/Button_quxiao"):addTouchEventListener(function(sender)
        app:sendMsg("BiddingController", "closeFirstChellenageTipsView")
    end)

    self._root:findChild("Panel/Button_queding"):addTouchEventListener(function(sender)
        app:sendMsg("BiddingController", "closeFirstChellenageTipsView")
        app:sendMsg("WorldBattleController", "openView")
    end)
end

function FirstChellenageTipsView:onExit()
end

function FirstChellenageTipsView:refresh(data)
end

return FirstChellenageTipsView